package com.authenticateCenter.event;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import nonapi.io.github.classgraph.json.Id;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 领域事件表
 * @author zdh
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
public class DomainEvent implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
    * 主键
    */
    @Id
    private Integer id;
    /**
    * 事件描述
    */
    private String eventDesc;
    /**
    * 事件内容[JSON]
    */
    private String eventContent;
    /**
     * 事件发生时间
     */
    private LocalDateTime createTime;
}